<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.tjsinfo.tjsoa.common.ToolKit"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.dangweifawen.vo.TDangweifawenNeirong"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.dangweifawen.vo.TDangweifawenYijian"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.dangweifawen.vo.TDangweifawenFujian"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.vo.TXingzhengfawenYijian"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.vo.TXingzhengfawenNeirong"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.vo.TXingzhengfawenFujian"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
//TXingzhengfawenNeirong xingzhengfawenNeirong = (TXingzhengfawenNeirong)request.getAttribute("xingzhengfawenNeirong");
Long  taskid = (Long)request.getAttribute("taskid");
String  fubenname = (String)request.getAttribute("fubenname");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
  	<meta http-equiv="x-ua-compatible" content="ie=7" />
    <base href="<%=basePath%>"/>
    
    <title>导出</title>

	<link href="<%=basePath%>style/txlz7.css" rel="stylesheet" type="text/css" />  
<style>
.blcontent{
background:url(images/bl02.gif) repeat-y 0 0; width:564px; padding-top:10px }
.tjfjcontent{
background:url(images/tjfj02.gif) repeat-y 0 0; width:456px; padding-top:10px}
</style>
<style>
.zhtab01 th{
font-size:17px; color:#CC0000; height:30px;border-bottom:2px #CC0000 solid}
.zhtab01 td{
font-size:14px;color:#CC0000; }
.zhtab02 td{
border-bottom:1px #CC0000 solid;border-right:1px #CC0000 solid; padding:10px; vertical-align:top;}
.zhtab03 td{
border-bottom:1px #CC0000 solid; padding:10px; vertical-align:top;}
.zhtab04 th{
border-bottom:2px #CC0000 solid; border-top:2px #CC0000 solid; text-align:left; padding:10px;font-size:14px;color:#206993; }
.zhtab04 td{border-bottom:2px #CC0000 solid; }
.zhtab05 th{
height:10px;border-bottom:1px #CC0000 solid; border-top:0;}
.zhtab05 td{
height:25px;border-bottom:1px #CC0000 solid; border-top:0;}
</style>
	<link href="<%=basePath %>ajaxFramework/ext-2.1/resources/css/ext-all.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/ext-all.js"></script>
    <script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/source/locale/ext-lang-zh_CN.js"></script>
    <script type="text/javascript" src="<%=basePath %>ajaxFramework/jQuery/jquery.js"></script>
    <script type="text/javascript" src="<%=basePath %>js/common/system/selectusercheck.js"></script>
    <script type="text/javascript" src="<%=basePath %>js/common/system/selectuserradio.js"></script>
    <script type="text/javascript" src="<%=basePath %>js/common/global/validator.js"></script>
	<script type="text/javascript" src="<%=basePath %>js/common/global/pageControl.js"></script>
      <script type="text/javascript">
		function init(){
			var url = "<%=basePath%>documentationflow/xingzhengfawen/openfubendoc.jsp?docname=<%=fubenname%>&WorkMode=1";
			with(document.all)
			{
			srctext.src = url;
			}
			
		}
		$(function(){
			$("#gwlz_title a").get(0).href="javascript:change(1)";
			$("#gwlz_title a").get(1).href="javascript:change(2)";
			$("#gwlz_title a").get(2).href="javascript:change(3)";
			$("#gwlz_title a").get(3).href="javascript:change(4)";
		});
		
		function change(start){
			if(start == 1)
			{
				$("#li1").addClass("over");
				$("#li2").removeClass();
				$("#li3").removeClass();
				$("#li4").removeClass();
				$("#span1").show();
				$("#span2").hide();
				$("#span3").hide();
				$("#span4").hide();	
			}
			else if(start == 2)
			{
				$("#li2").addClass("over");
				$("#li1").removeClass();
				$("#li3").removeClass();
				$("#li4").removeClass();
				$("#span2").show();
				$("#span1").hide();
				$("#span3").hide();
				$("#span4").hide();	
			}
			else if(start == 3)
			{
				$("#li3").addClass("over");
				$("#li1").removeClass();
				$("#li2").removeClass();
				$("#li4").removeClass();
				$("#span3").show();
				$("#span1").hide();
				$("#span2").hide();
				$("#span4").hide();	
			}
			else if(start == 4)
			{
				$("#li4").addClass("over");
				$("#li1").removeClass();
				$("#li2").removeClass();
				$("#li3").removeClass();
				$("#span4").show();
				$("#span1").hide();
				$("#span2").hide();
				$("#span3").hide();	
			}
			
		}
		function f_submit(){
			 Ext.MessageBox.show({
			           title:'消息',
			           msg: '是否执行此操作?',
			           buttons: Ext.MessageBox.YESNO,
			           fn: function(btn){
			           	  if(btn == 'yes'){
			           	  	msg();
							srctext.savedoc();
							document.form1.submit();
			           	  }	
			           },
			           icon: Ext.MessageBox.QUESTION
			       });
		}
	</script>	
  </head>
  
  <body onload="init()">
  		<form action="<%=basePath %>tjsinfo/tjsoa/dangweifawen/shenpi.do?method=fengfa" method="post" name="form1">
   <div id="rightindex" style="height: 97%">
   <div id="tabtj"> 
      <!--导航开始处-->
      <div id="ttt">
        <div id="gwlz_title">
            <ul>
                <li id="li1" style="display: none;" ><a href="#"><span>发文承办单</span></a></li>
                <li class="over" id="li2"><a href="#"><span>正文</span></a></li>
                <li id="li3"><a href="#"><span>附件</span></a></li>
                <li  id="li4"><a href="#"><span>办理</span></a></li>
            </ul>
           <%
            	String historyurl = "javascript:history.go(-1)";
            	if(session.getAttribute("historyurl") != null)
            	{
            		 historyurl = (String)session.getAttribute("historyurl");
            	}
            %>
            <div style="text-align: right;padding-right: 10px"><a href="javascript:history.go(-1)"><img src="<%=basePath %>images/fanhui111.gif"/></a>&nbsp;
              </div>                 
        </div>
        <div style="overflow-y:scroll; height:96%">
        <div class="swcbdtab" style="display: none;" id="span1">
        
       <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class="zhtab01">
          <tr>
            <td align="center" style="font-size:24px; padding-bottom:18px;color:#CC0000; height:30px;border-bottom:2px #CC0000 solid" colspan="2">天津市粮油集团有限公司发文单</td>
          </tr>
          <tr>
            <td width="50%">
            	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="zhtab02" height="350">
                  <tr>
                    <td height="75">签发：<font style="color:#000;">
                     </font>
                    </td>
                  </tr>
                  <tr>
                    <td height="75">会签：<font style="color:#000;">
                         </font>
                    </td>
                  </tr>
                  <tr>
                    <td height="130">标题：<font style="color:#000;"></font></td>
                  </tr>
                  <tr>
                    <td height="70">主送机关：<font style="color:#000;"></font></td>
                  </tr>
                </table>
          	</td>
            <td width="50%">
            	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="zhtab03" height="350">
                  <tr>
                    <td height="75">复核：<font style="color:#000;">
                     </font>
                    </td>
                  </tr>
                  <tr>
                    <td height="75">核稿：<font style="color:#000;">
                 </font>
                    </td>
                  </tr>
                  <tr>
                    <td height="65">主办单位和拟稿人：<font style="color:#000;"></font></td>
                  </tr>
                  <tr>
                    <td height="85">附件：<font style="color:#000;"></font></td>
                  </tr>
                  <tr>
                    <td height="29">抄送机关：<font style="color:#000;">
                     </font>
                    </td>
                  </tr>
                </table>
            </td>
          </tr>
          <tr><td colspan="2" style="padding:10px">打字：</td></tr>
        </table>
        <table width="98%" border="0" cellspacing="0" cellpadding="0" class="zhtab04" align="center">
          <tr>
          		
            	
          </tr>
          <tr>
            <td>
            	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="zhtab05">
                 	
                  
                </table>
            </td>
          </tr>
        </table>
        
        </div>
        <div class="swcbdtab" id="span2" >
         <table width="97%" border="0" cellpadding="0" cellspacing="0">
         </table>
       	
        <iframe id="srctext" width="100%" height="650px" frameborder=yes HTTP-EQUIV="Content-Type"  wrap="virtual"></iframe>
        </div>
        <div class="swcbdtab" style="display: none;" id="span3">
        	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:80px">
              <tr>
                <td align="center">
                    <table width="564" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><img src="images/tjfj01.gif" /></td>
                      </tr>
                      <tr>
                        <td><div class="tjfjcontent">
                                <table width="90%" height="90%" border="0" cellspacing="0" cellpadding="0" class="researchtab">
                                
        					
        				         
                                </table>
                            </div></td>
                      </tr>
                      <tr>
                        <td><img src="images/tjfj03.gif" /></td>
                      </tr>
                    </table>
                </td>
              </tr>
          </table>
        	
        	
        </div>
        <div class="swcbdtab"  id="span4" style="display: none;">
        	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:60px">
              <tr>
                <td align="center">
                    <table width="564" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><img src="images/bl01.gif" /></td>
                      </tr>
                      <tr>
                        <td><div class="blcontent">
                                <table width="90%" height="100%" border="0" cellspacing="0" cellpadding="0" class="researchtab">
                        		
                                 
                                </table>
                            </div></td>
                      </tr>
                      <tr>
                        <td><img src="images/bl03.gif" /></td>
                      </tr>
                    </table>
                </td>
              </tr>
          </table>
        </div>
   	  </div>
   	  </div> 
   </div>
</div>
	  
	
   	 <input  type="hidden" name="taskid" value="<%=taskid %>"/>
</form>
   
  </body>
</html>
